const path = require('path')

const {CleanWebpackPlugin}= require('clean-webpack-plugin')

module.exports = {
  mode: "none",
  entry: "./src/index.js",
  output: {
    filename: "bundle.js",
    path: path.join(__dirname, "output/dist"),
    publicPath: 'dist/'
  },
  // 用于配置插件
  plugins:[
    new CleanWebpackPlugin()
  ]
}